package cn.coastalinfo.project.drools.domain;

import cn.coastalinfo.project.drools.enums.VariableEnums;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import cn.coastalinfo.framework.web.domain.BaseEntity;


/**
 * 参数对象 tb_rule_variable
 *
 * @author hadge
 * @date 2024-06-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_rule_variable")
public class RuleVariable extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(value = "id"
    )
    private Long id;
    /**
     * 中文标题
     */
    @TableField(value = "label")
    private String label;
    /**
     * 描述
     */
    @TableField(value = "description")
    private String description;
    /**
     * 类型
     */
    @TableField(value = "value_type")
    private VariableEnums valueType;
    /**
     * 分组
     */
    @TableField(value = "group_name")
    private String groupName;
    /**
     * 参数名
     */
    @TableField(value = "value")
    private String value;
    /**
     * $column.columnComment
     */
    @TableLogic
    private Long deleted;

}
